home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_perl.idb / usr / freeware / catman / p_man / cat3 / Term::Complete.Z / Term::Complete
Encoding:
Text File  |  1998-10-28  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      TTTTeeeerrrrmmmm::::::::CCCCoooommmmpppplllleeeetttteeee((((3333))))22223333////JJJJuuuullll////99998888    ((((ppppeeeerrrrllll 5555....000000005555,,,, ppppaaaattttcccchhhh 00002222))))TTTTeeeerrrrmmmm::::::::CCCCoooommmmpppplllleeeetttteeee((((3333))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       Term::Complete - Perl    word completion    module
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           $input = complete('prompt_string', \@completion_list);
  13.           $input = complete('prompt_string', @completion_list);
  14.  
  15.  
  16.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.       This routine provides    word completion    on the list of words
  18.       in the array (or array ref).
  19.  
  20.       The tty driver is put    into raw mode using the    system command
  21.       stty raw -echo and restored using stty -raw echo.
  22.  
  23.       The following    command    characters are defined:
  24.  
  25.       <tab>
  26.           Attempts word completion.     Cannot    be changed.
  27.  
  28.       ^D  Prints completion    list.  Defined by
  29.           $_T_e_r_m::_C_o_m_p_l_e_t_e::_c_o_m_p_l_e_t_e.
  30.  
  31.       ^U  Erases the current input.     Defined by
  32.           $_T_e_r_m::_C_o_m_p_l_e_t_e::_k_i_l_l.
  33.  
  34.       <del>, <bs>
  35.           Erases one character.  Defined by
  36.           $_T_e_r_m::_C_o_m_p_l_e_t_e::_e_r_a_s_e_1 and $_T_e_r_m::_C_o_m_p_l_e_t_e::_e_r_a_s_e_2.
  37.  
  38.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  39.       Bell sounds when word    completion fails.
  40.  
  41.      BBBBUUUUGGGGSSSS
  42.       The completion charater <tab>    cannot be changed.
  43.  
  44.      AAAAUUUUTTTTHHHHOOOORRRR
  45.       Wayne    Thompson
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 10/23/98)
  64.  
  65.  
  66.  
  67.